package org.example.boot.usercenter.model.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @InterfaceName: PageRequest
 * @Description:
 * @Author: YourName
 * @Date: 2025/3/19
 */
@Data
@ApiModel(description = "分页查询对象")
public class PageRequest implements Serializable {
    /**
     * 页面大小
     */
    @ApiModelProperty(value = "页面大小", example = "10", required = true)
    protected int pageSize = 10;
    /**
     * 当前是第几页
     */
    @ApiModelProperty(value = "当前是第几页", example = "1", required = true)
    protected int pageNum = 1;

}
